package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LExamine
 * @date 2021.04.26 10:23
 * @describe 问卷调查
 */
@TableName("l_examine")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LExamine对象", description="问卷调查")
public class LExamine implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "examine_id", type = IdType.AUTO)
    private Integer examineId;

    @ApiModelProperty(value = "调查标题")
    @TableField("examine_name")
    private String examineName;

    @ApiModelProperty(value = "编号")
    @TableField("examine_num")
    private String examineNum;

    @ApiModelProperty(value = "单位")
    @TableField("organization_id")
    private Integer organizationId;

    @TableField(exist = false)
    private String organizationName;

    @ApiModelProperty(value = "调查分类")
    @TableField("examine_sort_id")
    private Integer examineSortId;

    @ApiModelProperty(value = "调查封面")
    @TableField("examine_cover")
    private String examineCover;

    @ApiModelProperty(value = "次数")
    @TableField("examine_frequency")
    private String examineFrequency;

    @ApiModelProperty(value = "说明")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "有效开始时间")
    @TableField("start_time")
    private String startTime;

    @ApiModelProperty(value = "有效结束时间")
    @TableField("end_time")
    private String endTime;

    @ApiModelProperty(value = "状态 0待发布1已发布2归档")
    @TableField("examine_state")
    private String examineState;

    @TableField("create_time")
    private Date createTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    @TableField(exist = false)
    private List<LExamineQuestion> lExamineQuestions;

    @TableField(exist = false)
    private LExamineUser lExamineUser;

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public LExamineUser getlExamineUser() {
        return lExamineUser;
    }

    public void setlExamineUser(LExamineUser lExamineUser) {
        this.lExamineUser = lExamineUser;
    }

    public List<LExamineQuestion> getlExamineQuestions() {
        return lExamineQuestions;
    }

    public void setlExamineQuestions(List<LExamineQuestion> lExamineQuestions) {
        this.lExamineQuestions = lExamineQuestions;
    }

    public Integer getExamineId() {
        return examineId;
    }

    public void setExamineId(Integer examineId) {
        this.examineId = examineId;
    }

    public String getExamineName() {
        return examineName;
    }

    public void setExamineName(String examineName) {
        this.examineName = examineName;
    }

    public String getExamineNum() {
        return examineNum;
    }

    public void setExamineNum(String examineNum) {
        this.examineNum = examineNum;
    }

    public Integer getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Integer organizationId) {
        this.organizationId = organizationId;
    }

    public Integer getExamineSortId() {
        return examineSortId;
    }

    public void setExamineSortId(Integer examineSortId) {
        this.examineSortId = examineSortId;
    }

    public String getExamineCover() {
        return examineCover;
    }

    public void setExamineCover(String examineCover) {
        this.examineCover = examineCover;
    }

    public String getExamineFrequency() {
        return examineFrequency;
    }

    public void setExamineFrequency(String examineFrequency) {
        this.examineFrequency = examineFrequency;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getExamineState() {
        return examineState;
    }

    public void setExamineState(String examineState) {
        this.examineState = examineState;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
}
